//
//  HYCalendarViewController.h
//  HYCalendar
//
//  Created by 王厚一 on 16/11/10.
//  Copyright © 2016年 why. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "HYCalendarCollectionReusableView.h"
#import "HYCalendarCollectionViewCell.h"


typedef NS_ENUM(NSInteger, HYCalendarChooseType) {
    HYCalendarChooseSingle = 10,//选择一个时间
    HYCalendarChooseDouble//选择两个时间
};

@interface HYCalendarViewController : UIViewController

@property (nonatomic, assign) HYCalendarItemType itemType;//item的形状类型

@property (nonatomic, strong) UIColor * selectedColor;//选中色

@property (nonatomic, strong) UIColor * middleColor;//连接的中间色

@property (nonatomic, strong) UIColor * normalColor;//正常的颜色

@property (nonatomic, assign) HYCalendarChooseType chooseType;//日历返回类型

@property (nonatomic, copy) void (^getTime)(NSArray * firstDay, NSArray * lastDay);//选中回调

@property (nonatomic, strong) NSArray * firstDay;//出发时间

@property (nonatomic, strong) NSArray * lastDay;//返回时间


@end
